<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023/5/22
  Time: 10:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form method="post" action="/update">
    <input type="hidden" name="id" value="${model.id}" readonly>
    <div>品牌名称：<input type="text" value="${model.brandName}" name="brandName" placeholder="请输入品牌名称"></div>
    <div>企业名称：<input type="text" value="${model.enterPriseName}" name="enterPriseName"></div>
    <div>排序：<input type="text" value="${model.sort}" name="sort"></div>
    <div>品牌介绍：<input type="text" value="${model.brandIntroduce}" name="brandIntroduce"></div>
    <div>状态：
        <c:if test="${model.enable==1}">
            <label><input type="radio" name="enable" value="1" checked>启用</label>
            <label> <input type="radio" name="enable" value="0">禁用</label>
        </c:if>
        <c:if test="${model.enable!=1}">
            <label><input type="radio" name="enable" value="1">启用</label>
            <label> <input type="radio" name="enable" value="0" checked>禁用</label>
        </c:if>
    </div>
    <div><input type="submit" value="修改"></div>
</form>
</body>
</html>
